package com.lunm.im.massage;

import lombok.Data;
import lombok.ToString;

/**
 * @program: mi-server
 * @author: Shawn
 * @create: 2024-12-28 18:25
 */
@Data
@ToString(callSuper = true)
public abstract class AbstractResponseMessage extends Message {

    private boolean success;
    private String reason;

    public AbstractResponseMessage(){}

    public AbstractResponseMessage(boolean success, String reason) {
        this.success = success;
        this.reason = reason;
    }
}
